<?
	if($model->id==0){
		$hidden['content_id']=$this->input->get('parent_id');
		$hidden['position']=1000;
	}

	$hidden['formtype']='multiple';

?>

<div class='contentheader'>Mehrere neue Medienlinks</div>
<?
echo form::open_multipart(NULL, '', $hidden);
echo form::hidden('id', $model->id);
echo form::open_fieldset();
echo myform::media_selector_multiple('media_id_array','Media', $model->media_id, '');
echo form::close_fieldset();
echo myform::submit_small();
echo form::close();
?>